<?php

/*  lamp-shade_0.1
 *  License: GNU GPL v3
 *  File: ./modules/html/html_component.php
 *  Last Mod.:  04/11/11 by Werner
 *  Authors:    Werner Roets
 *              Frank Adrian
 *  Description:
 *  Defines the specifications of any Html_component
 *  which are basically
 */

abstract class Html_component
{
    protected $Html = "";
    
    protected abstract function GenerateHtml();
    
    public function Render()
    {
        $this->GenerateHtml();
        print $this->Html;
    }
    
    public function GetHtml()
    {
        $this->GenerateHtml();
        return $this->Html;
    }



}
?>
